--- src/Widgets/VoteBox.vala.orig	2023-08-05 15:23:47 UTC
+++ src/Widgets/VoteBox.vala
@@ -72,7 +72,7 @@ public class Tuba.Widgets.VoteBox: Box {
                 var percentage = poll.votes_count > 0 ? ((double)p.votes_count / poll.votes_count) * 100 : 0.0;
 
                 var provider = new Gtk.CssProvider ();
-                provider.load_from_data (generate_css_style ((int) percentage).data);
+                provider.load_from_data ((string) generate_css_style ((int) percentage).data, -1);
                 row.get_style_context ().add_provider (provider, Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION);
                 row.add_css_class (@"ttl-poll-$((int) percentage)");
 
